package com.ruoyi.system.service;


import com.ruoyi.system.domain.Goods;

import java.math.BigDecimal;


public interface GoodsService extends BaseService<Goods> {

    /**
     * 根据价格匹配商品
     *
     * @param price
     * @return
     */
    Goods getByPrice(BigDecimal price);

}
